Automattic\Jetpack\Waf\Waf_Initializer S

Total Complexity 28
Dependencies 9
Dependents 2
Total lines 224
Lines of code 110
Logical lines of code 68
Comment lines 77
Methods 9
Properties 0

Methods 9

Method Rating Maintainability Complexity Lines of code
update_waf_after_plugin_upgrade()
A
52 10 23
check_for_updates()
S
53 6 25
init()
S
57 2 16
on_waf_activation()
S
63 2 11
remove_standalone_module_on_unsupported_environments()
S
64 2 11
on_waf_deactivation()
S
68 2 8
remove_module_on_unsupported_environments()
S
71 2 6
on_brute_force_protection_activation()
S
73 1 5
on_brute_force_protection_deactivation()
S
73 1 5